package com.wzdigit.wms.basic.domain.inventory;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzdigit.framework.orm.model.BasicDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 批次属性，用于定义批次属性信息
 * @author yangdongjie
 * @LotAttr.java
 * @2021年1月19日下午2:01:04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_LOT_ATTR")
@KeySequence(value = "WMS_LOT_ATTR_SEQ", clazz = Integer.class)
public class LotAttr extends BasicDomain {

	private static final long serialVersionUID = 4036340036949330884L;

	/**
	 * 批次属性ID
	 */
	@TableId(value = "LOT_ATTR_ID", type = IdType.INPUT)
	private Integer lotAttrId;

	/**
	 * 批次属性规则代码
	 */
	@TableField("LOT_ATTR_CODE")
    private String lotAttrCode;

	/**
	 * 描述
	 */
	@TableField("DESCRIPTION")
    private String description;

	/**
	 * 备注
	 */
	@TableField("COMMENTS")
    private String comments;

	/**
	 * 是否有效
	 */
	@TableField("IS_ENABLED")
    private Integer isEnabled;
}